Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore): Fix the reference to the webpack types #464

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

ibacher
Copy link
Member

@ibacher ibacher commented Jun 22, 2022

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.

For changes to apps

If applicable

  • My work includes tests or is validated by existing tests.
  • I have updated the esm-framework mock to reflect any API changes I have made.

Summary

In #448, I removed some conflicting type definitions. However, the way I did this resulted in a package that's dependent on a certain dependency structure, i.e., the structure of the monorepo. This breaks the ability of this code to be built outside of the monorepo. The App Shell, however, needs to be buildable outside of the monorepo for the openmrs build command to work properly, so this shifts to using proper dependency resolution for the types rather than a file path.

Marked as a chore as this is a tooling fix rather than an API change.

Screenshots

Related Issue

Other

@github-actions
Copy link
Contributor


Error: Error while trying to collect info before merging fix-webpack-references into master.

TypeError: directoryUrl must be a string or an url, received undefined
    at assertAndNormalizeDirectoryUrl (file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/@jsenv/filesystem/src/assertAndNormalizeDirectoryUrl.js:23:11)
    at generateFileSizeReport (file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/@jsenv/file-size-impact/src/generateFileSizeReport.js:26:22)
    at file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/tools/size-generator.mjs:41:37

Generated by @jsenv/file-size-impact during Report bundle size#2544172166 on 6ce9f9f

@ibacher ibacher merged commit 7e58513 into master Jun 22, 2022
@ibacher ibacher deleted the fix-webpack-references branch June 22, 2022 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants